module.exports = {
  chainWebpack: config => {
    // 移除 prefetch 插件
    config.plugins.delete("prefetch"); //懒加载是否预读取js https://cli.vuejs.org/zh/guide/html-and-static-assets.html#prefetch
  },
  devServer: {
    proxy: {
      "/api": {
        target: "http://api.chenyeah.com/",
        pathRewrite: { "^/api": "" }
      }
    }
  }
};
